package com.lluohao.web.controller;

/**
 * Created by Everthing-- on 2017/7/5.
 */
public class Result {
    private int code;
    private String message;
    private String at;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getAt() {
        return at;
    }

    public void setAt(String at) {
        this.at = at;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        if(this.getAt()!=null){
            builder.append("[CQ,at:qq="+this.getAt()+"]");
        }
        builder.append(this.getMessage());
        return builder.toString();
    }
}
